package com.example.manager.mapper;


import com.example.common.Ov.AdminOv;
import com.example.common.Ov.UserOv;
import com.example.common.pojo.Admin;

public interface AdminMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);
    //管理员信息
    AdminOv getUserInfo(Integer id);
    //登录
    Admin login(Admin admin);
}
